import { BaseController, CoolController } from "@cool-midway/core";
import { Inject } from "@midwayjs/core";
import { UserContactService } from "../../service/contact";
import { UserContactEntity } from "../../entity/contact";

@CoolController({
    api: ['add', 'delete', 'update', 'info', 'list', 'page'],
    entity: UserContactEntity,
    service: UserContactService,
})
export class AdminUserContactController extends BaseController {
    @Inject()
    userContactService: UserContactService;
}